package org.graduation.feignapi;

import org.graduation.model.common.ResponseResult;
import org.graduation.model.common.verifyCode.VerifyCode;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "verify-code-service")
public interface VerifyCodeClient {
    @RequestMapping(path = "/verify-code/verify", method = RequestMethod.POST)
    ResponseResult verifyCode(@RequestBody VerifyCode verifyCode);
}
